< previous page page_237 next page >

Page 237
0237-01.jpg
Figure 7.18.
Using Visdata to open an ODBC data source.
Before you can open an ODBC data source, you must first define that data source using the ODBC program from the Control Panel. You learn about defining and accessing ODBC data sources in depth in Week 3. If you want more information on defining ODBC data sources, you can refer to the help available when you load the ODBC programs from the Control Panel.
New . . .
The New menu option enables you to use Visdata to create entirely new databases in several formats. This section concentrates on the Microsoft Access database format. Most of the rules for creating Microsoft Jet databases apply equally to non-Microsoft Jet formats. Although the Visdata application can create a non-Microsoft Jet database, you should not use Visdata to create non-Microsoft Jet databases very often. If you need to work in non-Microsoft Jet formats, use the native database engine to create the data files. You can then use Visdata to access and manipulate the non-Microsoft Jet databases.
Access (Version 2.0 and 7.0)
When you select the Microsoft Access menu item, Visdata asks you to select one of two versions of Microsoft Access data format: 2.0 or 7.0. The 2.0 format can be read by all versions of Microsoft Access and by Microsoft Visual Basic versions 4.0 and later. Version 7.0 format databases can only be read by the 32-bit version of Visual Basic 4 and by the 32-bit version of Microsoft Access. The advantage of the older formats is that the data can be read by most versions of the software. The advantage of the version 7.0 format is that it allows for additional database properties that are not available in the older formats.
warning.gif
Attempting to read a version 7.0 Microsoft Access database with Access version 2.0 or Visual Basic version 3.0 results in an error that tells you your database is invalid or corrupt. If you know that you will be

 
< previous page page_237 next page >

If you like this book, buy it!